﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Core.GenericDefinitions.BaseClasses;

namespace Core.GenericDefinitions
{
    public class LoginInformation : ViewModelBase
    {
        #region UserName VM Property
        private string _UserName;
        public string UserName
        {
            get
            {
                return _UserName;
            }
            set
            {
                if (_UserName == value) return;
                _UserName = value;
                RaisePropertyChanged("UserName");
            }
        }
        #endregion UserName


        #region Password VM Property
        private string _Password;
        public string Password
        {
            get
            {
                return _Password;
            }
            set
            {
                if (_Password == value) return;
                _Password = value;
                RaisePropertyChanged("Password");
            }
        }
        #endregion Password

    }

    public class User 
    {

        #region UserName VM Property
        private string _userName;
        public string UserName
        {
            get { return _userName; }
            set
            {
                if (_userName == value) return;
                _userName = value;
            }
        }
        #endregion UserName

        #region Name VM Property
        private string _Name;
        public string Name
        {
            get { return _Name; }
            set
            {
                if (_Name == value) return;
                _Name = value;
            }
        }
        #endregion Name

        #region Surname VM Property
        private string _Surname;
        public string Surname
        {
            get
            {
                // if (ViewModelBase.IsInDesignModeStatic)
                // {                
                // }
                return _Surname;
            }
            set
            {
                if (_Surname == value) return;
                _Surname = value;
            }
        }
        #endregion Surname

        #region EMail VM Property
        private string _EMail;
        public string EMail
        {
            get { return _EMail; }
            set
            {
                if (_EMail == value) return;
                _EMail = value;
            }
        }
        #endregion EMail

        #region IsLoggedIn VM Property
        private bool _IsLoggedIn;
        public bool IsLoggedIn
        {
            get
            {
                // if (ViewModelBase.IsInDesignModeStatic)
                // {                
                // }
                return _IsLoggedIn;
            }
            set
            {
                if (_IsLoggedIn == value) return;
                _IsLoggedIn = value;
            }
        }
        #endregion IsLoggedIn


    }
}
